CC = g++
CFLAGS = -Wall -O3 -g
EXEC = ANN

ANN: ANN.o Lib/neuron.o Lib/network.o
	$(CC) $(CFLAGS) -o $@ $^
Lib/neuron.o: Lib/neuron.cpp
	$(CC) $(CFLAGS) -o $@ -c $<
Lib/network.o: Lib/network.cpp
	$(CC) $(CFLAGS) -o $@ -c $<
clean:
	rm -rf ./*.o
	rm -rf Lib/*.o
	rm $(EXEC) 
